home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / 1994.12.gz / 1994.12 / 000066_kb@cs.umb.edu_Sun Dec 18 01:47:28 1994.msg < prev    next >
Internet Message Format  |  1994-12-30  |  3KB

  1. Received: from terminus.cs.umb.edu by cs.umb.edu with SMTP id AA19469
  2.   (5.65c/IDA-1.4.4 for <tex-k-exp@cs.umb.edu>); Sun, 18 Dec 1994 06:47:31 -0500
  3. Received: by terminus.cs.umb.edu id AA28623
  4.   (5.65c/IDA-1.4.4 for tex-k); Sun, 18 Dec 1994 06:47:28 -0500
  5. Date: Sun, 18 Dec 1994 06:47:28 -0500
  6. From: "K. Berry" <kb@cs.umb.edu>
  7. Message-Id: <199412181147.AA28623@terminus.cs.umb.edu>
  8. To: gildea@x.org
  9. Cc: tex-k@cs.umb.edu
  10. Subject: Re: can't build TeX formats with TEXINPUTS set
  11.  
  12. Thanks for your comments.
  13.  
  14.     I notice that the Makefile in this directory clobbers TEXPOOL when
  15.     dumping formats; perhaps it should do the same with TEXINPUTS.
  16.  
  17. I can reset TEXPOOL because the build process creates the pool files.
  18. But the tex/mf/tfm input files are separate, so it seemed inappropriate
  19. to me to mess with TEXINPUTS. But still, you have a point -- there've
  20. been a lot of problems because of people having TEXINPUTS/TEXFONTS set,
  21. and the compile-time defaults should be set up properly, or there's just
  22. going to be trouble down the road. Yeah, I think you're right.
  23.  
  24.     Oddly, setting TEXINPUTS to a null value seems to be the same as
  25.     setting it to "."  I consider this a bug.  A null value should be the
  26.     same as unsetting it, 
  27.  
  28. Yeah, maybe you're right, but it seems a painful thing to have to
  29. program around. I don't think it's odd -- there's no a priori reason for
  30. a set-but-empty value to be the same as being nonexistent; it never
  31. occurred to me to treat them as the same.
  32.  
  33.                           otherwise how are you going to do it with shells
  34.     that don't have "unset" (like Ultrix)?
  35.  
  36. I had no idea Ultrix sh didn't have have unset (not that I'm surprised;
  37. Ultrix sh is so horribly deficient it's not even funny). But, you can
  38. work around this by setting the value to `:' -- see below.
  39.  
  40.     Another solution would be to have a token in the path that means
  41.     "insert default path here."  Xt (the X Toolkit) does this with the
  42.     "%D" escape.  See
  43.     http://www.x.org/consortium/R6doc/man/Xt/XtResolvePathname
  44.  
  45. That's what an extra : (at the beginning, or end, or doubled in the
  46. middle) means. See tex.man or the kpathsea Texinfo manual. I put the
  47. first version of that into web2c some 4 1/2 years ago :-); how time flies ...
  48.  
  49. Wed Aug  8 06:43:28 1990  Karl Berry  (karl at hayley)
  50.  
  51.         * common/extra.c (DO_PATH): replace this macro with a routine, and
  52.         expand extra `:'s into the system default.
  53.         (insert_string): new routine.
  54.         * site.h: warn them not to put extra `:'s in the system default.
  55.         * man/{almost everything}: document this.